package com.untour.im.codec.protocol.message.content;

import lombok.Data;

/**
 * 单聊消息
 **/
@Data
public class SingleRequestMessageContent<T extends MessageContent> extends ImMessageContent<T> implements MessageContent{

    /**
     * 接收方
     */
    private String toId;

    public SingleRequestMessageContent(T content, String toId) {
        super(content);
        this.toId = toId;
    }
}
